import NProgress from 'nprogress';
import 'nprogress/nprogress.css';

export const progress = (app) => {
  NProgress.configure({ showSpinner: false, easing: 'linear', speed: 400, minimum: 0.1 });
  app.config.globalProperties.$progress = NProgress;
  app.provide('$progress', NProgress);
};
